package cn.yshujia.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author YShuJia
 * @create 2024/11/30
 * @description ResourcesVO
 */

@Data
public class ResourcesVO implements Serializable {
	@TableField ("id")
	private Long id;
	
	@Schema (description = "标签")
	private LabelVO label;
	
	@Schema(description = "资源文件名")
	private String name;
	
	@Schema(description = "链接")
	private String url;
	
	@Schema(description = "大小")
	private Double size;
	
	@Schema(description = "描述")
	private String remark;
	
	@Schema(description = "创建时间")
	@JsonFormat (pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	
	@Schema(description = "是否启用")
	private Boolean status;
	
}
